LogicObjects: Enabling Logic Programming in Java through Linguistic Symbiosis
نویسندگان
چکیده
While object-oriented programming languages are good at modelling real-world concepts and benefit from rich libraries and developer tools, logic programming languages are well suited for declaratively solving computational problems that require knowledge reasoning. Nontrivial declarative applications could take advantage of the modelling features of object-oriented programming and of the rich software ecosystems surrounding them. Linguistic symbiosis is a common approach to enable complementary use of languages of different paradigms. However, the problem of concepts leaking from one paradigm to another often hinders the applicability of such approaches. This issue has mainly been reported for object-oriented languages participating in a symbiotic relation with a logic language. To address this issue, we present LogicObjects, a linguistic symbiosis framework for transparently and (semi-) automatically enabling logic programming in Java, that aims to solve most of the problems of paradigm leaking reported in other works.
منابع مشابه
LogicObjects: A Portable and Extensible Approach for Linguistic Symbiosis between an Object-Oriented and a Logic Programming Language
Logic languages are well suited for declaratively solving computational problems that require knowledge representation and reasoning. Object-oriented programming languages benefit from mature software ecosystems featuring rich libraries and developer tools. Several interoperability solutions exist that allow a software system to be decomposed into a combination of modules implemented in a logic...
متن کاملTowards Linguistic Symbiosis of an Object-Oriented and a Logic Programming Language
Reflective systems have a causally connected (metalevel) representation of themselves. Most reflective systems use the same language to reason about their metalevel representation as the language that is used to reason about their domain. In symbiotic reflection a different language is used at the metalevel. The practical usability of this symbiotic reflection is enhanced if a linguistic symbio...
متن کاملBuilding Software with Logic and OO Symbiosis: an Experience Report
In this paper we present the results of a case study of using multiparadigm programming, more concretely, Logic and OO symbiosis. The case study consists of the implementation of sections of a weaver for aspect-oriented programming. We have implemented such a weaver for transaction management, and in this paper we show how multi-paradigm programming in the logic and object-oriented paradigm usi...
متن کاملDeveloping Coherent Multiagent Systems using JAFMAS
The Java-based Agent Framework for Multi-Agent Systems (JAFMAS) provides a generic methodology for developing speech-act based multiagent systems (MAS) along with a set of classes to support implementing these agents in Java. The methodology follows five stages: (i) agent identification, (ii) definition of each agent’s conversations, (iii) determining the rules governing each agent’s conversati...
متن کاملA Framework for Engineering Interactions in Java-based Component Systems
This paper describes a Java-based framework for the development of componentbased software systems supporting the specification of the logic of component interactions as a first-class aspect. Java is used as the reference development language. On the one side, the framework makes it possible to specify the logic of interaction at the component-level, in terms of input and output interfaces, the...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2013